package com.medvalley.tcm.utils;

import lombok.Data;

@Data
public class UEditorConfig {

    /**
     * 上传图片配置项
     */
    private String imageActionName = "uploadimage";
    private String imageFieldName = "upfile";
    private String imageMaxSize = "20480000000";// 单位 B
    private String[] imageAllowFiles = new String[]{".png", ".jpg", ".jpeg", ".gif", ".bmp"};
    private boolean imageCompressEnable = true;
    private int imageCompressBorder = 1600;
    private String imageUrlPrefix = "http://physician-accreditation.oss-cn-beijing.aliyuncs.com/";
    private String imagePathFormat = "";

}
